//
//  todayViewController.h
//  weather
//
//  Created by Mfk on 12-11-13.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <MessageUI/MessageUI.h>
#import <MessageUI/MFMailComposeViewController.h>


#import "BaseViewController.h"
#import "weatherDelegate.h"
#import "tomorrowViewController.h"
#import "setCityViewController.h"
#import "SBJson.h"
@interface todayViewController :BaseViewController<weatherDelegate,MFMailComposeViewControllerDelegate, 
MFMessageComposeViewControllerDelegate,NSURLConnectionDataDelegate>
{
    NSTimer *timer;//定义一个定时器
    
   
}
-(void)displaySMSComposerSheet;

- (IBAction)favoriteButton:(UIButton *)sender;
-(NSString *)dataFilePath;
//通过短信分享
-(void)displayMailComposerSheet;
//通过邮件分享
- (IBAction)emailButton:(id)sender;
//通过短信分享
- (IBAction)msgButton:(id)sender;
//等待框
@property (strong, nonatomic) IBOutlet UIActivityIndicatorView *waitingView;
//等待提示
@property (strong, nonatomic) IBOutlet UILabel *waiting;
//收藏的城市名称
@property (strong,nonatomic)NSMutableArray *favoriteList;
-(void)reload;//重新加载数据
@property (assign,nonatomic)id<weatherDelegate>delegate;//设置代理 
@property (strong, nonatomic) IBOutlet UILabel *todayWeather;//今天的天气
@property (strong, nonatomic) IBOutlet UILabel *todayTemp;//今天的温度
@property (strong, nonatomic) IBOutlet UILabel *todayWind;//今天的风速
@property (strong, nonatomic) IBOutlet UILabel *todayDetail;//今天详细注意
@property (strong, nonatomic) IBOutlet UIImageView *todayImage;//今天的天气图片
@property (strong,nonatomic)NSString *cityName;
@property (copy,nonatomic)NSString *cityname;
@property (strong,nonatomic)NSDictionary *cityCode;
@property (strong,nonatomic)NSDictionary *cityDict;

@end
